﻿using System;
using EntitiesContainer;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using System.Collections.Generic;

namespace Shop.Interfaces
{
    interface IViewMain : IView
    {
        event Action CategorySelected;
        event Action RowSelected;
        event Action ComboboxProductDropDown;
        event Action LogoutClicked;
        event Action AddButtonClicked;
        event Action ChangeButtonClicked;
        event Action DelButtonClicked;

        ICollection<Product> tableProducts { set; }
        string UserName { set; }
        string ProdName { get; set; }
        string ProductCategoryFromProdInfo { get; set; }
        ICollection<string> ProductCategoriesFromTable { get; set; }
        string Price { get; set; }
        string Description { get; set; }
        Image ProductImage { get; set; }

        //void SetListCategoriesForTable(ICollection<string> categories);
        void SetListCategoriesForProduct(ICollection<string> categories);
        string ReturnSelectedCategoryTable();
        string ReturnSelectedCategoryProd();
        int ReturnSelectedProductId();
    }
}
